import javax.swing.JFrame;


public class Window extends JFrame{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	public Window(Panda p){
			JFrame window = new JFrame();
			SquareZone a = new SquareZone(p);
			window.setTitle("Pandarize");
			window.setLocationRelativeTo(null);
			window.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
			this.add(a);
	}
	
	public void displayWindow (){
		this.setSize(1200, 800);
		this.setVisible(true);
	}
	
}
